projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce6b43
)
Define gnutls_rnd for WINDOWSNT and HAVE_GNUTLS3 case only
author
Martin Rudalics
<rudalics@gmx.at>
Fri, 15 Sep 2017 07:48:54 +0000
(09:48 +0200)
committer
Martin Rudalics
<rudalics@gmx.at>
Fri, 15 Sep 2017 07:48:54 +0000
(09:48 +0200)
* src/fns.c (gnutls_rnd): Define for WINDOWSNT and HAVE_GNUTLS3
case only to avoid unused macros warning otherwise.
src/fns.c
patch
|
blob
|
history
diff --git
a/src/fns.c
b/src/fns.c
index 13d235965e2cba416c5d1e72743b9d1dbe13d762..4524ff9b268dcc15e2ab19aebcc789602b5f8d17 100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-37,7
+37,7
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include "puresize.h"
#include "gnutls.h"
-#if
def WINDOWSNT
+#if
defined WINDOWSNT && defined HAVE_GNUTLS3
# define gnutls_rnd w32_gnutls_rnd
#endif